/*
 * @Author: liangzhuo liangzhuo@chzu.com
 * @Date: 2022-10-21 20:49:08
 * @LastEditors: liangzhuo liangzhuo@chzu.com
 * @LastEditTime: 2022-10-22 11:42:51
 * @FilePath: \hongxinUi\src\api\exam\examMchoose.js
 * @Description: 多选题接口
 */
import request from '@/utils/request'

// 分页查询所有多选题（可模糊查询）
export function getExamMchoose(data) {
  return request({
      url: '/system/mchoose/list',
      method: 'get',
      params: data
  })
}

// 添加多选题
export function addExamMchoose(data) {
  return request({
      url: '/system/mchoose',
      method: 'post',
      data: data
  })
}

// 修改多选题
export function updateExamMchoose(data) {
  return request({
      url: '/system/mchoose',
      method: 'put',
      data: data
  })
}

// 根据id批量删除多选题
export function delExamMchoose(ids) {
  return request({
      url: `/system/mchoose/${ids}`,
      method: 'delete'
  })
}

// 导入多选题
export function importExamMchoose(data) {
  return request({
      url: '/system/mchoose/importData',
      method: 'post',
      data: data
  })
}

// 导出多选题
export function exportMchoose(data) {
  return request({
      url: '/system/mchoose/export',
      method: 'post',
      data: data
  })
}